<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>common/ui/jquery-easyui-1.3.0/themes/default/easyui.css">
		<script type="text/javascript" src="<%=basePath%>common/ui/jquery-easyui-1.3.0/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="<%=basePath%>common/ui/jquery-easyui-1.3.0/jquery.easyui.min.js"></script>
<style type="text/css">

.drag-item{
			list-style-type:none;
			display:block;
			padding:5px;
			border:1px solid #ccc;
			margin:2px;
			background:#fafafa;
			height: 17px;
			text-align: center;
			cursor: pointer; 
		}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
<script type="text/javascript">	
	
function jumpHover(href){
	$("#f_menus").attr("src",href);	
}
$(document).ready(function() {
    $("ul li").click(function() {
        //alert("哈哈，我是被点击的那个"+$(this).attr("src"));
        $("#f_menus").attr("src",$(this).attr("src"));	
    });
});
</script>
	</head>
	<body class="easyui-layout">
	   <div data-options="region:'west',split:true" title="功能菜单" style="width:180px;padding1:1px;overflow:hidden;">
	       <div class="easyui-accordion" data-options="fit:true,border:false">
			<div title="产品管理" style="padding:10px;overflow:auto;" >
				<ul style="margin:0;padding:0;">
			    <li class="drag-item" src="<%=basePath%>manage/admin/product!index.action?productType=0">待审核产品</li>
		        <li class="drag-item" src="<%=basePath%>manage/admin/product!index.action?productType=1">已发布产品</li>
		        <li class="drag-item" src="<%=basePath%>manage/admin/product!index.action?productType=2">已删除产品</li>
	           </ul>
			</div>
			<div title="分类管理" style="padding:10px" >
				<ul style="margin:0;padding:0;">
		        <li class="drag-item" src="<%=basePath%>manage/admin/product_categories!index.action">商品类型</li>
	           </ul>
			</div>
			<div title="采集管理" style="padding:10px">
				<ul style="margin:0;padding:0;">
			    <li class="drag-item" src="<%=basePath%>manage/admin/user!group.action">采集模型</li>
		        <li class="drag-item" src="<%=basePath%>manage/admin/user!group.action">采集接口</li>
	           </ul>
			</div>
			<div title="用户管理" style="padding:10px">
				<ul style="margin:0;padding:0;">
			    <li class="drag-item" src="<%=basePath%>manage/admin/user!index.action">会员管理</li>
	           </ul>
			</div>
			<div title="广告管理" style="padding:10px">
				<ul style="margin:0;padding:0;">
			    <li class="drag-item" src="<%=basePath%>manage/admin/user!group.action">广告位管理</li>
	           </ul>
			</div>
			<div title="搜索设置" style="padding:10px">
				<ul style="margin:0;padding:0;">
			    <li class="drag-item" src="<%=basePath%>manage/admin/user!group.action">自动创建索引</li>
		        <li class="drag-item" src="<%=basePath%>manage/admin/user!group.action">手动创建索引</li>
	           </ul>
			</div>
			<div title="统计管理" style="padding:10px">
				<ul style="margin:0;padding:0;">
			    <li class="drag-item" src="<%=basePath%>manage/admin/user!group.action">搜索排行</li>
		        <li class="drag-item" src="<%=basePath%>manage/admin/user!group.action">注册统计</li>
		        <li class="drag-item" src="<%=basePath%>manage/admin/user!group.action">商品统计</li>
	           </ul>
			</div>
			<div title="系统管理" style="padding:10px;">
				<ul style="margin:0;padding:0;">
			    <li class="drag-item" src="<%=basePath%>manage/admin/admin!index.action">管理员管理</li>
		        <li class="drag-item" src="<%=basePath%>manage/admin/log!index.action?logType=1">会员登录日志</li>
		        <li class="drag-item" src="<%=basePath%>manage/admin/log!index.action">管理员登录日志</li>
	           </ul>
			</div>
		   </div>
		</div>
		<div data-options="region:'north',split:true" title="" style="height:50px;padding:1px;background:#fafafa;">
		<p>The north content.</p>
	   </div>
		<div data-options="region:'center'" >
            <iframe name="f_menus" id="f_menus" frameborder="0" scrolling="no" allowtransparency="true" src="<%=basePath%>manage/admin/user!group.action"></iframe>
		</div>
		<div data-options="region:'south',border:false,split:false" style="height: 25px;text-align:center;">天度CMS管理系统</div>
	</body>
</html>
<script type="text/javascript">
jQuery('#f_menus').css('height', 99+'%');
jQuery('#f_menus').css('width', 100+'%');
</script>